package com.iris.live.services.data.repositories;

import com.iris.live.services.data.models.金融礼物表Model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by xiO on 2016/12/2.
 */
public interface 金融礼物表Repository extends JpaRepository<金融礼物表Model, Integer>, JpaSpecificationExecutor<金融礼物表Model> {

    @Query("select a from 金融礼物表Model a where a.初始报价单号=?1")
    List<金融礼物表Model> findByActCodeproinfos(String code);


}
